#pragma once

#include "json/json.h"

class ConsumerCarModel
{
public:
	ConsumerCarModel(void);
	~ConsumerCarModel(void);

	int m_id;
	int m_consumerID;
	int m_carType;
	int m_carBrand;
	int m_buyTime;
	CString m_buyPrice;
	CString m_appraisement;
	int m_propertyRight;
	int m_installmentTm;
	CString m_installmentSum;
	CString m_installmentBank;
	CString m_monthPay;
	int m_cutPaymentCard;

	void parseFromJson(Json::Value& jsonData);

	void toJson(Json::Value& jsonData);

};

